import 'package:flutter/material.dart';
import 'package:uikit/uikit.dart';

class ShareGuidePopWidget extends StatelessWidget {
  final VoidCallback closeCallback;
  const ShareGuidePopWidget({Key? key, required this.closeCallback}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      width: MediaQuery.of(context).size.width,
      height: MediaQuery.of(context).size.height,
      color: const Color(0xFF000000).withOpacity(0.5),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          const SizedBox(height: 94,),
          Padding(
            padding: const EdgeInsets.only(left: 30.0),
            child: T3Image.t3assets(T3AssetsName.icon_share_dest_guide),
          ),
          const SizedBox(height: 14,),
          ElevatedButton(
            onPressed: () {
              closeCallback();
            },
            style: ElevatedButton.styleFrom(
              backgroundColor: Colors.transparent,
              shape: RoundedRectangleBorder(
                borderRadius: BorderRadius.circular(20),
                side: const BorderSide(
                  color: Colors.white,
                  width: 0.5,
                  style: BorderStyle.solid,
                ),
              ),
            ),
            child: const Text(
                '我知道了',
              style: TextStyle(
                color: Colors.white,
                fontWeight: LucyFonts.semi_bold,
                fontSize: 14,
              ),
            ),
          ),
        ],
      ),
    );
  }
}
